<!--{loop $product_list $item}-->
<div class="item">
    <a href="{u product/show id=$item['id']}" target="_blank" class="a1">{if $item['is_qjd']}<span class="flagship"></span>{/if}<img src="{$item[img]}" class="wf_img" width="{$item[width]}" height="{$item[height]}" /></a>
    <div class="i_info">
        <a href="{u product/show id=$item['id']}">{$item[title]}</a>
        <div class="j_source">
            {if $item['source']=='淘宝'}
            <img src="/public/v1/img/icon_taobao.png">
            {elseif  $item['source']=='亚马逊'}
            <img src="/public/v1/img/icon_amazon.png">
            {elseif  $item['source']=='jd'||$item['source']=='京东'}
            <img src="/public/v1/img/icon_jd.png">
            {elseif  $item['source']=='天猫'}
            <img src="/public/v1/img/icon_tmall.png">
            {else}
            {$item['source']}
            {/if}
            <b class="k_price">¥ {$item['price']}</b>
            <a href="javascript:;" onclick="addtocart({$item['id']},$(this))" class="g_btn">加入对比</a>
        </div>
    </div>
</div>
<!--{/loop}-->